home *** CD-ROM | disk | FTP | other *** search
/ Champak 132 (Alt) / Vol 132.iso / games / hewitt.swf / scripts / DefineSprite_815 / frame_10 / DoAction.as
Encoding:
Text File  |  2011-06-09  |  5.4 KB  |  172 lines

  1. stop();
  2. if(_root.even39 == 2)
  3. {
  4.    _root.even39 = 3;
  5.    _root.txt_number = 1;
  6.    _root.next_dis1 = 2;
  7.    _root.di1 = 16;
  8.    _root.next_txt1 = "I think I\'m all set for tonight now. I should go home and get ready.";
  9. }
  10. if(_root.talk9 == 2)
  11. {
  12.    _root.talk9 = 3;
  13.    _root.txt_number = 1;
  14.    _root.next_dis1 = 2;
  15.    _root.di1 = 15;
  16.    _root.next_txt1 = "Too bad I donΓÇÖt have a corsage or know how to dance.";
  17. }
  18. if(_root.talk9 > 0 && _root.talk11 == 3 && _root.even31 == 1 && _root.even32 == 1 && _root.taken52 == 0)
  19. {
  20.    _root.txt_number = 1;
  21.    _root.next_dis1 = 14;
  22.    _root.di1 = 451;
  23.    _root.next_txt1 = "Oh my I hate mice!  Please do something!";
  24. }
  25. if(_root.talk9 > 0 && _root.talk11 == 2 && _root.even31 == 1 && _root.even32 == 1 && _root._currentframe == 25 && _root.distress == 1)
  26. {
  27.    _root.talk11 = 3;
  28.    _root.txt_number = 2;
  29.    _root.next_dis2 = 14;
  30.    _root.next_txt2 = "Someone please help me!  IΓÇÖm cornered here!";
  31.    _root.di2 = 450;
  32.    _root.next_dis1 = 2;
  33.    _root.next_txt1 = "Hmm, It sounds like it\'s coming from that empty hallway down there.";
  34.    _root.di1 = 11;
  35. }
  36. if(_root.even7 == 0 && _root._currentframe == 2)
  37. {
  38.    _root.txt_number = 2;
  39.    _root.next_dis2 = 2;
  40.    _root.di2 = 10;
  41.    _root.next_txt2 = "What a strange dream, but... I guess I better take its advice.";
  42.    _root.next_dis1 = 2;
  43.    _root.di1 = 13;
  44.    _root.next_txt1 = "Now where did I leave my keys? They aren\'t still in my pocket are they?";
  45. }
  46. if(_root.even28 == 1)
  47. {
  48.    _root.even28 = 2;
  49.    _root.talk10 = 3;
  50.    _root.txt_number = 5;
  51.    _root.next_dis5 = 11;
  52.    _root.di5 = 386;
  53.    _root.next_txt5 = "Well whaddya know, I guess now I\'ve seen everything...";
  54.    _root.next_dis4 = 2;
  55.    _root.di4 = 387;
  56.    _root.next_txt4 = "You said if you saw a pig fly you\'d help me! I think a little help is in order...";
  57.    _root.next_dis3 = 11;
  58.    _root.di3 = 388;
  59.    _root.next_txt3 = "Ok then. Hmm, well how about this? Theres a locker around this school that I cracked into, its combination is 7382";
  60.    _root.next_dis2 = 11;
  61.    _root.di2 = 389;
  62.    _root.next_txt2 = "If you find it and open it, you can keep what\'s inside.";
  63.    _root.next_dis1 = 2;
  64.    _root.di1 = 390;
  65.    _root.next_txt1 = "Thanks, I guess.";
  66. }
  67. if(_root._currentframe == 10)
  68. {
  69.    if((_root.poison1 == 1 || _root.poison2 == 1 || _root.poison3 == 1) && _root.even14 == 0)
  70.    {
  71.       _root.poison1 = 0;
  72.       _root.poison2 = 0;
  73.       _root.poison3 = 0;
  74.       _root.txt_number = 1;
  75.       _root.next_dis1 = 2;
  76.       _root.next_txt1 = "Hmm maybe next time I should use all the eye drops and poison all the food to be sure.";
  77.    }
  78. }
  79. if(_root._currentframe == 7)
  80. {
  81.    if(_root.even5 == 1)
  82.    {
  83.       _root.txt_number = 1;
  84.       _root.next_dis1 = 2;
  85.       _root.next_txt1 = "Haha I am Unstoppable!";
  86.       _root.even5 = 2;
  87.       _root.sfx.gotoAndStop(3);
  88.    }
  89. }
  90. if(_root._currentframe == 19)
  91. {
  92.    if(_root.even17 == 0)
  93.    {
  94.       _root.txt_number = 1;
  95.       _root.next_dis1 = 2;
  96.       _root.next_txt1 = "It\'s too dark in here, I can\'t see a thing!";
  97.    }
  98. }
  99. if(_root.fromRaven == 1 && _root._currentframe == 6)
  100. {
  101.    _root.fromRaven = 0;
  102.    if(_root.ravenMSG == "YOU HAVE FAILED")
  103.    {
  104.       if(_root.even9 == 2)
  105.       {
  106.          _root.txt_number = 2;
  107.          _root.next_dis2 = 6;
  108.          _root.di2 = 498;
  109.          _root.next_txt2 = "Yes! 50 more game points added to my average... Oh and better luck next time!";
  110.          _root.next_dis1 = 2;
  111.          _root.di1 = 500;
  112.          _root.next_txt1 = "Wow he beat me even though I have the hacker, I should be able to win next time!";
  113.       }
  114.       else
  115.       {
  116.          _root.txt_number = 2;
  117.          _root.next_dis2 = 6;
  118.          _root.di2 = 498;
  119.          _root.next_txt2 = "Yes! 50 more game points added to my average... Oh and better luck next time!";
  120.          _root.next_dis1 = 2;
  121.          _root.di1 = 501;
  122.          _root.next_txt1 = "He seems to be unbeatable? I need to find something that will enhance my skills.";
  123.       }
  124.    }
  125.    else
  126.    {
  127.       _root.even9 = 1;
  128.       _root.txt_number = 1;
  129.       _root.next_dis1 = 6;
  130.       _root.di1 = 499;
  131.       _root.next_txt1 = "Wow I can\'t believe you actually beat me...  Well a deal is a deal...  Here take my Private Raven Collectors Knife.  Nothing is sharper.";
  132.       _root.sfx.gotoAndStop(3);
  133.       _root.take = 40;
  134.    }
  135. }
  136. if(_root.fromfrog == 1 && _root._currentframe == 18)
  137. {
  138.    _root.fromfrog = 0;
  139.    if(_root.even17 == 0)
  140.    {
  141.       _root.txt_number = 2;
  142.       _root.next_dis2 = 11;
  143.       _root.di2 = 384;
  144.       _root.next_txt2 = "I knew you were gonna be bad, but not this bad! Come back when you think you\'re good enough!";
  145.       _root.next_dis1 = 2;
  146.       _root.di1 = 385;
  147.       _root.next_txt1 = "You don\'t need to rub it in.";
  148.    }
  149.    if(_root.even17 == 1)
  150.    {
  151.       _root.sfx.gotoAndStop(3);
  152.       _root.take = 22;
  153.       _root.txt_number = 2;
  154.       _root.next_dis2 = 11;
  155.       _root.di2 = 382;
  156.       _root.next_txt2 = "How did you do that, I\'ve been training this frog for years! Well here ya go, take my lighter.";
  157.       _root.next_dis1 = 2;
  158.       _root.di1 = 383;
  159.       _root.next_txt1 = "It was a pleasure doing business with you.";
  160.    }
  161. }
  162. if(_root.even15 == 1)
  163. {
  164.    _root.txt_number = 2;
  165.    _root.next_txt2 = "What\'s that sound??";
  166.    _root.next_dis2 = 2;
  167.    _root.next_txt1 = "It\'s coming from the street!";
  168.    _root.next_dis1 = 2;
  169.    _root.bunnydeath.play();
  170.    _root.even15 = 2;
  171. }
  172.